package org.baicaixiaozhan.emailmanager.dao;

import org.baicaixiaozhan.emailmanager.vo.UserRole;
import org.springframework.stereotype.Repository;

/**
 * DESC:
 *
 * @author : baicaixiaozhan
 * @since : 2021-06-21
 */
@Repository
public interface UserRoleDao {

    /**
     * 根据 username 查询 user role
     *
     * @param username
     * @return {@link UserRole}
     */
    UserRole findUserRoleByUsername(String username);
}
